package com.lingchen.service;

import com.lingchen.entity.Choice;
import com.lingchen.entity.Collect;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Author    lingchen
 * Email     838878458@qq.com
 * Time      2018/2/28
 * Function  收藏
 */
public interface CollectService {

    /**
     * 收藏题目
     */
    int insertCollect(Collect... collects);

    /**
     * 查询收藏的题目
     */
    List<Collect> selectCollect(long userName, String courseId);
}
